package cn.edu.scau.cmi.liuyonglin.chapter5;

public class Circle {
	double radious , area;
	public Circle(){
		
	}
	public Circle (double r){
		radious = r;
	}
	public void setRadious(double r) {
		if(r>0) {
			radious = r;
		}
	}
	public double getRadious() {
		return radious;
	}
	public double getArea() {
		return 3.14*radious*radious;
	}
	
}
